package cn.miaoyao.miaoyaoms.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author sun
 * @since 2023-03-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_miaosample")
@ApiModel(value="Miaosample对象", description="")
public class Miaosample implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "中文名")
    @ExcelProperty(value = "中文名")
    private String zhname;

    @ApiModelProperty(value = "苗药名")
    @ExcelProperty(value = "苗药名")
    private String miaoname;

    @ApiModelProperty(value = "俗名/异名")
    @ExcelProperty(value = "俗名/异名")
    private String suname;

    @ApiModelProperty(value = "英文名")
    @ExcelProperty(value = "英文名")
    private String enname;

    @ApiModelProperty(value = "拉丁名")
    @ExcelProperty(value = "拉丁名")
    private String latinname;

    @ApiModelProperty(value = "图片")
    @ExcelProperty(value = "图片")
    private String picture;

    @ApiModelProperty(value = "图集")
    private String imgs;

    @ApiModelProperty(value = "植物库多来源")
    @ExcelProperty("植物库来源")
    private String plantsSrc;

    @ApiModelProperty(value = "药用来源")
    @ExcelProperty("药用来源")
    private String pharmSrc;

    @ApiModelProperty(value = "植物源形态")
    @ExcelProperty("植物源形态")
    private String plantsForm;

    @ApiModelProperty(value = "产地分布")
    @ExcelProperty("产地分布")
    private String origin;

    @ApiModelProperty(value = "入药部位")
    @ExcelProperty("入药部位")
    private String usePart;

    @ApiModelProperty(value = "苗药类型")
    @ExcelProperty("苗药类型")
    private String miaoType;

    @ApiModelProperty(value = "药性")
    @ExcelProperty("药性")
    private String natureFlavor;

    @ApiModelProperty(value = "归经")
    @ExcelProperty("归经")
    private String belongLection;

    @ApiModelProperty(value = "毒性")
    @ExcelProperty("毒性")
    private String toxicity;

    @ApiModelProperty(value = "质征")
    @ExcelProperty("质征")
    private String zhizheng;

    @ApiModelProperty(value = "走关")
    @ExcelProperty("走关")
    private String zhouguan;

    @ApiModelProperty(value = "入架")
    @ExcelProperty("入架")
    private String rujia;

    @ApiModelProperty(value = "主治")
    @ExcelProperty("主治")
    private String majorFun;

    @ApiModelProperty(value = "攻效")
    @ExcelProperty("功效")
    private String efficacy;

    @ApiModelProperty(value = "用法用量")
    @ExcelProperty("用法用量")
    private String usedosage;

    @ApiModelProperty(value = "验方")
    @ExcelProperty("验方")
    private String provedRecipe;

    @ApiModelProperty(value = "采收加工 ")
    @ExcelProperty("采收加工")
    private String pickProcess;

    @ApiModelProperty(value = "药材鉴别")
    @ExcelProperty("药材鉴别")
    private String pharmIdentify;

    @ApiModelProperty(value = "化学成分")
    @ExcelProperty("化学成分")
    private String chemComponent;

    @ApiModelProperty(value = "药理作用")
    @ExcelProperty("药理作用")
    private String pharmAction;

    @ApiModelProperty(value = "现代临床研究")
    @ExcelProperty("现代临床研究")
    private String curResearch;

    @ApiModelProperty(value = "备注")
    @ExcelProperty("备注")
    private String member;
    @TableLogic(value = "1",delval = "0")
    @TableField(fill=FieldFill.INSERT)//设置自动填充
    private Integer status;

    private Integer sort;

    private Boolean mark;
    @TableField(fill = FieldFill.INSERT)
    private Long createTime;
    @TableField(fill = FieldFill.UPDATE)
    private Long updateTime;


}
